package com.freight.tws.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.freight.common.core.annotation.Excel;
import com.freight.common.core.web.domain.MyPlusEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 司机银行卡信息对象 tws_driver_bank
 * 
 * @author ruoyi
 * @date 2023-03-14
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("tws_driver_bank")
public class DriverBank extends MyPlusEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 司机id */
    @Excel(name = "司机id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long driverId;

    /** 银行卡类型 */
    @Excel(name = "银行卡类型")
    private String cardType;

    /** 银行卡号 */
    @Excel(name = "银行卡号")
    private String cardNumber;

    /** 银行名 */
    @Excel(name = "银行名")
    private String bankName;

    /** 有效期限 */
    @Excel(name = "有效期限")
    private String validToDate;

    /** 是否默认 0否 1是 */
    @Excel(name = "是否默认")
    private String isDefault;

    /** 卡照片 */
    @Excel(name = "卡照片")
    private String cardImg;

}
